package com.kmust.dream.wanderingdream.donation.service.impl;

import com.kmust.dream.wanderingdream.comm.utils.PageUtils;
import com.kmust.dream.wanderingdream.comm.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.kmust.dream.wanderingdream.donation.dao.FeedbackInformationDao;
import com.kmust.dream.wanderingdream.donation.entity.FeedbackInformationEntity;
import com.kmust.dream.wanderingdream.donation.service.FeedbackInformationService;


@Service("feedbackInformationService")
public class FeedbackInformationServiceImpl extends ServiceImpl<FeedbackInformationDao, FeedbackInformationEntity> implements FeedbackInformationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<FeedbackInformationEntity> page = this.page(
                new Query<FeedbackInformationEntity>().getPage(params),
                new QueryWrapper<FeedbackInformationEntity>()
        );

        return new PageUtils(page);
    }

}